import { defineConfig } from 'vite'
import { resolve } from 'path'
import WindiCSS from 'vite-plugin-windicss'

export default defineConfig(({ command, mode }) => {
  return {
    resolve: {
      alias: {
        '@': resolve(__dirname, './src')
      }
    },
    plugins: [
      WindiCSS()
    ]
  }
})